POV-Ray : Newsgroups : povray.programming : ATT: POV team and everyone - POV4 design proposal : Re: ATT: POV team and everyone - POV4 design proposal Server Time
28 Jul 2024 20:27:27 EDT (-0400)
  Re: ATT: POV team and everyone - POV4 design proposal  
From:
Date: 14 Jan 2002 03:49:19
Message: <7h654usqsfq6ift9jn75vftm32jhtnt695@4ax.com>
On Sun, 13 Jan 2002 12:11:06 +0200, Eugene Arenhaus <eug### [at] avalon-netcoil>
wrote:
> > - 'instancing' (clone/refer patch) have been discussed and planned before
> > but it isn't as simple as it might seem.
>
> I never said it was simple - I only said it was more than worth making.

I say it is simple to code. I did such patch for my own. Clone is slower then
copy. The reason is another transformation for every intersection test. When
object is large CSG then it can save memory. But intersection test is so much
slower then (becouse of complex CSG). I found it not worth. It has sense only
for meshes.

ABX
--
disc{z,-z 5#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;pigment{#local g=function(_){ceil(_)-_}function#local//X
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e>0)<O(),O()//AB
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//POV35


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.